package com.zl.gmadmin.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.zl.gmadmin.common.BaseEntity;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 数据字典详情
 *
 * @author zl.sir
 * @since 2021-04-12
 */
@TableName("sys_dict_detail")
@ApiModel(value = "字典详情表")
public class SysDictDetail extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 8144400747168805166L;
	/**
	 * ID
	 */
	@TableId(type = IdType.AUTO)
 	@TableField("detail_id")
	private Long detailId;

	/**
	 * 字典id
	 */
 	@TableField("dict_id")
	private Long dictId;

	/**
	 * 字典标签
	 */
 	@TableField("label")
	private String label;

	/**
	 * 字典值
	 */
 	@TableField("value")
	private String value;

	/**
	 * 排序
	 */
 	@TableField("dict_sort")
	private Integer dictSort;

	/**
	 * 创建者
	 */
 	@TableField(value = "create_by",fill = FieldFill.INSERT)
	private String createBy;

	/**
	 * 更新者
	 */
 	@TableField(value = "update_by",fill = FieldFill.UPDATE)
	private String updateBy;

	/**
	 * 创建日期
	 */
 	@TableField(value = "create_time",fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
 	@TableField(value = "update_time",fill = FieldFill.INSERT)
	private LocalDateTime updateTime;



  public Long getDetailId() {
    return detailId;
  }

  public void setDetailId(Long detailId) {
    this.detailId = detailId;
  }


  public Long getDictId() {
    return dictId;
  }

  public void setDictId(Long dictId) {
    this.dictId = dictId;
  }


  public String getLabel() {
    return label;
  }

  public void setLabel(String label) {
    this.label = label;
  }


  public String getValue() {
    return value;
  }

  public void setValue(String value) {
    this.value = value;
  }


  public Integer getDictSort() {
    return dictSort;
  }

  public void setDictSort(Integer dictSort) {
    this.dictSort = dictSort;
  }


  @Override
  public String getCreateBy() {
    return createBy;
  }

  @Override
  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }


  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }


  @Override
  public LocalDateTime getCreateTime() {
    return createTime;
  }

  @Override
  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }


  @Override
  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  @Override
  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

}
